Make dom0_enforce_cpus() use vcpu_hotplug rather than directly modifying the sysfs...
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Fri, 16 Sep 2005 19:08:36 +0000 (19:08 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Fri, 16 Sep 2005 19:08:36 +0000 (19:08 +0000)
commit71a28c9e9d905665b28ce81b22ac3307c75e7901
tree415bdda6feb7e5a381eddf639ba97770beeaa401
parent87371321cc0beb2e0d2d9f9eba4b9d52ba650f06
Make dom0_enforce_cpus() use vcpu_hotplug rather than directly modifying the sysfs entries.
Directly modifying the sysfs entries causes the xenstore state of
a cpu's availability to be incorrect.  Also slightly modify the
dom0-cpus description in the xend-config.  Rather than specifying which
dom0 vcpus are to be used, it is now a target of how many vcpus to use
as pinvcpu ops are the preferred method for setting which physical cpu a
vcpu uses.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/examples/xend-config.sxp
tools/python/xen/xend/XendDomain.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/SrvDaemon.py